Repository navigation
[OGUI-1934] Create clipboard utility - #3694
Open
isaachilly wants to merge 3 commits into
Open
isaachilly wants to merge 3 commits into
isaachilly wants to merge 3 commits into
Conversation
Expose copyToClipboard and getClipboardUnavailableReason that can be used by clipboard wanting components.
CopyToClipboardComponent now uses copyToClipboard instead of its own availability checks.
isaachilly
force-pushed
the
improv/FRM/OGUI-1934/Centralise-clipboard-behaviour
branch
from
October 22, 2026 14:16
24323a2 to
3938049
Compare
isaachilly
marked this pull request as ready for review
October 22, 2026 15:27
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have JIRA issue created
Ticket:
Given the ticket OGUI-1906 wants to add a copy button in notifications, it is best to centralise clipboard logic so we do not repeat ourselves and/or miss certain safety guards.
Code:
Extracts clipboard logic into a utility that can simply be imported by what copy element or function needs it.
Reviewer:
Could locate a
copyToClipboardComponentand test the functionality via that.